package com.dream.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;



@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "`config`")
public class ConsoleConfig implements Serializable{
    /**
     * 
     * config.pickUserId
     */
    @Id
    private Integer id;

    /**
     * 分组id
     * config.group_key
     */
    private String groupKey;

    /**
     * 配置key
     * config.option_key
     */
    @ApiModelProperty(value = "配置key",required = true)
    private String optionKey;

    /**
     * 配置值
     * config.option_value
     */
    @ApiModelProperty("配置值")
    private String optionValue;

    /**
     * 描述
     * config.option_desc
     */
    @ApiModelProperty("描述")
    private String optionDesc;

    /**
     * 排序
     * config.sort
     */
    private Integer sort;

    /**
     * 
     * config.create_time
     */
    private Date createTime;

    /**
     * 
     * config.modifly_time
     */
    private Date modiflyTime;

}